package com.example.demo.conf;

import com.example.demo.service.LogFilter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;

/**
 * @ClassName LogFilterWebConfig
 * @Author bsy
 * @Description TODO
 * @Date 2022/8/24 23:26
 * @Version 1.0
 */

//@ConditionalOnWebApplication
public class LogFilterWebConfig {
    @Bean
    public LogFilter timeFilter() {
        return new LogFilter();
    }

}
